import request from '@/utils/request'

export function accountLogin(account) {
  return request({
    url:'/login',
    method:'post',
    data:account
  })
}

export function userInfoById(id) {
  return request({
    url:'/users/'+id,
    method:'get',
  })
}

export function menuListByRoleId(id) {
  return request({
    url:'/role/'+id+'/menu',
    method:'get',
  })
}